package com.cssl.mapper;


import com.cssl.domain.DtsGroupOn;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface GroupOnMapper {
     /**
      * 正常报错,不用管
      * @return
      */
//     List<Map> getActive();
     List<Map> getActive();

    List<Map> getGroupOnGoods();

    Map getGroupOnGoodsById(Integer goodsId);

    List<Map> getGroupOnGoodsLimit(int parseInt);

    Integer addGroupOnOrder(@Param("orderId") Integer id,@Param("groupRoleId") Integer id1, @Param("joinGroupId") int i, @Param("userId") Integer login,@Param("createId") Integer createId ,@Param("picUrl") String picUrl, @Param("isPay") int i1);

    Integer groupIsExit(@Param("groupId") Integer groupId,@Param("userId")Integer userId);
}
